﻿using System;
using System.Collections.Generic;
using System.Text;

// 邻接表结点
public class AdjListNode<T>
{
    private int adjvex; // 邻接结点
    private AdjListNode<T> next; //下一个邻接表结点

    public int Adjvex { get { return adjvex; } set { adjvex = value; } }
    public AdjListNode<T> Next { get { return next; } set { next = value; } }

    public AdjListNode(int vex)
    {
        adjvex = vex;
        next = null;
    }
}
